Conversation
|
It should match the spec. However, imo, it is nonsense that What is your opinion? (for the CSS language) The existing doc is dreadful but has something about it actually. A consequence for Another example is |
I agree. This also leads to weird discontinuities when using math expressions.
https://codepen.io/romainmenke/pen/GRLwLQy Do you know if there already is a dedicated issue for specifically this aspect? |
|
There are not any, I think, except the one I linked to in the previous comment and is only about the scientific notation. I think Another argument is that |
|
I've filed a new issue here : w3c/csswg-drafts#10238 |
0d93d45 to
081aa6f
Compare
534796b to
65a6415
Compare
e9480e8 to
41341a4
Compare
6511952 to
15b4236
Compare
c11d5c0 to
b9c3c1b
Compare
fixes : #2
see : https://drafts.csswg.org/css-syntax/#consume-number
I don't know the exact parameters, constraints and goals of your tokenizer.
So please let me know if it is not desired to match the specification to this degree.